how to use seperation of variable